package com.emex.app.stuff.security.ui;

/**
 *
 * @author Sergey Karavaev
 */
public enum ConnectionParams {

    SERVER_ADDRESS("Адрес сервера", "server.address"), //
    SERVER_PORT("Порт сервера", "server.port");

    private final String ruName, propName;

    private ConnectionParams(String ruName, String propName) {
        this.ruName = ruName;
        this.propName = propName;
    }

    @Override
    public String toString() {
        return ruName;
    }

    public String getPropName() {
        return propName;
    }

}
